home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / DCLAP 6d / dclap6d / corelib / ncbiprop.h < prev    next >
Text File  |  1996-07-05  |  3KB  |  76 lines

  1. /*   ncbiprop.h
  2. * ===========================================================================
  3. *
  4. *                            PUBLIC DOMAIN NOTICE                          
  5. *               National Center for Biotechnology Information
  6. *                                                                          
  7. *  This software/database is a "United States Government Work" under the   
  8. *  terms of the United States Copyright Act.  It was written as part of    
  9. *  the author's official duties as a United States Government employee and 
  10. *  thus cannot be copyrighted.  This software/database is freely available 
  11. *  to the public for use. The National Library of Medicine and the U.S.    
  12. *  Government have not placed any restriction on its use or reproduction.  
  13. *                                                                          
  14. *  Although all reasonable efforts have been taken to ensure the accuracy  
  15. *  and reliability of the software and data, the NLM and the U.S.          
  16. *  Government do not and cannot warrant the performance or results that    
  17. *  may be obtained by using this software or data. The NLM and the U.S.    
  18. *  Government disclaim all warranties, express or implied, including       
  19. *  warranties of performance, merchantability or fitness for any particular
  20. *  purpose.                                                                
  21. *                                                                          
  22. *  Please cite the author in any work or product based on this material.   
  23. *
  24. * ===========================================================================
  25. *
  26. * File Name:  ncbiprop.h
  27. *
  28. * Author:  Schuler
  29. *
  30. * Version Creation Date:   06-04-93
  31. *
  32. * $Revision: 2.1 $
  33. *
  34. * File Description: 
  35. *       Application Property functions.
  36. *
  37. * Modifications:  
  38. * --------------------------------------------------------------------------
  39. * Date     Name        Description of modification
  40. * -------  ----------  -----------------------------------------------------
  41. *
  42. * ==========================================================================
  43. */
  44. #ifndef _NCBIPROP_
  45. #define _NCBIPROP_
  46.  
  47. #ifdef __cplusplus
  48. extern "C" {
  49. #endif
  50.  
  51.  
  52. typedef int (LIBCALLBACK *Nlm_AppPropEnumProc) PROTO((const char *key, void *data));
  53.  
  54. void  LIBCALL Nlm_InitAppContext PROTO((void));
  55. void  LIBCALL Nlm_ReleaseAppContext PROTO((void));
  56. void* LIBCALL Nlm_SetAppProperty PROTO((const char *key, void *data));
  57. void* LIBCALL Nlm_GetAppProperty PROTO((const char *key));
  58. void* LIBCALL Nlm_RemoveAppProperty PROTO((const char *key));
  59. int   LIBCALL Nlm_EnumAppProperties PROTO((Nlm_AppPropEnumProc));
  60. long  LIBCALL Nlm_GetAppProcessID PROTO((void));
  61.  
  62. #define AppPropEnumProc Nlm_AppPropEnumProc
  63. #define InitAppContext Nlm_InitAppContext
  64. #define ReleaseAppContext Nlm_ReleaseAppContext
  65. #define SetAppProperty Nlm_SetAppProperty
  66. #define GetAppProperty Nlm_GetAppProperty
  67. #define RemoveAppProperty Nlm_RemoveAppProperty
  68. #define EnumAppProperties Nlm_EnumAppProperties
  69. #define GetAppProcessID Nlm_GetAppProcessID
  70.  
  71. #ifdef __cplusplus
  72. }
  73. #endif
  74.  
  75. #endif
  76.